package com.it.xiaotao.functionInterface;

public class TestFunctionInterface {
    public static void main(String[] args) {
        Consumer<String> consumer = System.out::println;
        consumer.accept("消费型函数式接口");
    }
}
